package com.yq.backend.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @descriptions:
 * @author: yunqiang
 * @date: 2022/5/3 22:16
 */
@Data
public class winningStatisticsDto {

    @ApiModelProperty(value = "活动主题")
    private String title;
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date starttime;
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endtime;
    @ApiModelProperty(value = "类型（1=概率类，2=随机类）")
    private Byte type;
    @ApiModelProperty(value = "数量")
    private Short amount;
    @ApiModelProperty(value = "已抽中")
    private Short winning;



}
